package tongwentongshu.com.app.contract;


import android.content.Context;

import tongwentongshu.com.app.bean.AppItem;
import tongwentongshu.com.app.bean.BookDetailsBean;

/**
 * Created by XiongBin on 2017/7/3.
 */

public interface ReadingDetailsContract {
    interface Model {
    }

    interface View {
        String getBookId();

        String getFollowId();

        String getLogId();

        String getStatus();

        android.view.View getBasicView();//生成基础布局

        android.view.View getOwnerView();//生成读者布局

        android.view.View getMyNoteView();//生成我的笔记布局

        void onSuccess(BookDetailsBean msg);

        void onOperationSuccess(AppItem msg);

        void onShowError(String msg);
    }

    interface Presenter {
        void initReadingDetails(Context mContext);

        void collection(boolean status, CallBackColonyContract.OnOperation onOperation);

        void follow(String status, CallBackColonyContract.OnOperation onOperation);

        void operationBook();
    }
}
